Add clipping apis to GtkRoundedBox
authorMatthias Clasen <mclasen@redhat.com>
Tue, 2 Dec 2014 13:26:36 +0000 (08:26 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 2 Dec 2014 13:26:36 +0000 (08:26 -0500)
commit73e6a05e386b58fd6e38b0f14a7b4fb83c436d34
tree3a465831eef5fa2193df8e6d53549028de89b889
parent579c7f80a019ee7f8c672355be55c836b7ad7fa4
Add clipping apis to GtkRoundedBox

This adds two functions for checking whether an axis-aligned
rectangle is completely outside or inside of a rounded box.
These are not trying to be exact, but fast.
gtk/gtkroundedbox.c
gtk/gtkroundedboxprivate.h